package com.iweb.mapper;

import com.iweb.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


public interface BookMapper  {
    /*int insert(Book book);
    int delete(Book book);
    List<Map> select(Book book);

    List selectByUserID(int userID);*/
    int insert(Book book);
    int delete(Book book);
    int update(Book book);
    List<Map> select(Book book);
    Book checkBookByDate(Book book);
    List selectByUserID(int userID);
}
